package serverproject.model;

import java.io.Serializable;

/**
 * 계정 모델 전송,관리용
 * @author 201011832 김남중
 *
 */
public class Account implements Serializable
{
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	private String id;
	private String name;
	private String password;
	private RankEnum			rankEnum;	
	
	public Account(String id, String name, String password, RankEnum rankEnum)
	{
		this.id = id;
		this.name = name;
		this.password = password;
		this.rankEnum = rankEnum;
	}

	/**
	 * @return the name
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}

	/**
	 * @return the password
	 */
	public String getPassword()
	{
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password)
	{
		this.password = password;
	}

	/**
	 * @return the rankEnum
	 */
	public RankEnum getRankEnum()
	{
		return rankEnum;
	}

	/**
	 * @param rankEnum the rankEnum to set
	 */
	public void setRankEnum(RankEnum rankEnum)
	{
		this.rankEnum = rankEnum;
	}

	/**
	 * @return the id
	 */
	public String getId()
	{
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id)
	{
		this.id = id;
	}
}
